package dao;

import java.util.List;

import domain.CriteriaSearch2;
import domain.Search2;

public class SearchDAOJdbcImpl2 extends DAO<Search2> implements Search2DAO {

	@Override
	public List<Search2> getForListWithCriteriaCustomer2(CriteriaSearch2 cc2) {

		String sql="SELECT songname,songsinger,songtype FROM songs WHERE songname LIKE ?";
		
		return getForList(sql,cc2.getSongname());
	}

}
